package fr.neticar.webremoteclient.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;

public class TitlePanel extends Composite {

    private HorizontalPanel container = new HorizontalPanel();

    public TitlePanel() {
        initWidget(container);
        Image image = new Image("vnc.gif");
        Label label = new Label(" Web Remote Client");
        label.setStyleName("title-large");
        Label text = new Label("   Share your screen over the web");
        text.setStyleName("title-text");
        container.add(image);
        container.add(label);
        container.add(text);
        container.setCellVerticalAlignment(image, HorizontalPanel.ALIGN_BOTTOM);
        container.setCellVerticalAlignment(label, HorizontalPanel.ALIGN_BOTTOM);
        container.setCellVerticalAlignment(text, HorizontalPanel.ALIGN_BOTTOM);
        container.setHeight("80%");
    }

    

}
